package com.twu.biblioteca;

/**
 * Created by jfulton on 16/01/2014.
 */
public class Book implements LibraryItem {
    String title;
    public Book(String newTitle) {
        title = newTitle;
    }

    @Override
    public boolean matchesTitle(String title) {
        return this.title.equals(title);
    }

    @Override
    public String toString() {
        return title;
    }
}
